package com.appinit.lib;

import android.app.Application;
import android.content.Context;

/**
 * @author GYL
 * @dateTime 2020/5/18-10:31
 * @description
 */
public interface IAppInitial {
  
  /**
   * APP 初始化
   * @param context
   */
  public void onInit(Context context);
  
  
  /**
   * see Application.attachBaseContext(Context)
   * @param base
   */
  public void attachBaseContext(Context base);
  
  /**
   * @see Application#onTerminate()
   * @param context
   */
  public void onTerminate(Context context);
  
  
  public void onTrimMemory(int level);
}
